package com.fdb.efp.loan.service.facade;

import java.util.List;

import com.fdb.efp.loan.service.vo.PlsCusLoanBalanceDataVO;

/**
 * Service Interface：个贷客户账户余额表服务 
 * @author ligm
 * @date 2019-06-21 
 */
public interface PlsCusLoanBalanceDataService {
    
	/**
	 * 新增数据 
     * @param inPlsCusLoanBalanceDataVo
	 * @return 
	 */
	public int insertPlsCusLoanBalanceData(PlsCusLoanBalanceDataVO inPlsCusLoanBalanceDataVo);

    /**
	 * 根据主键删除信息 
     * @param inPlsCusLoanBalanceDataVo
	 * @return 
	 */
	public int deleteByPk(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);

    /**
	 * 根据主键更新信息 
     * @param inPlsCusLoanBalanceDataVo
	 * @return 
	 */  
	public int updateByPk(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);

    /**
	 * 根据主键查询详情 
     * @param plsCusLoanBalanceData
	 * @return 
	 */
	public PlsCusLoanBalanceDataVO queryByPk(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);

    /**
	* 一级数据权限
     * @param plsCusLoanBalanceData
	 * @return 
	 */	
	public List<PlsCusLoanBalanceDataVO> queryAllByLevelOne(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);
	
    /**
	 * 二级数据权限 
     * @param plsCusLoanBalanceData
	 * @return 
	 * @version 0.1
	 */
	public List<PlsCusLoanBalanceDataVO> queryAllByLevelTwo(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);
	
    /**
	 * 三级数据权限 
     * @param plsCusLoanBalanceData
	 * @return 
	 */
	public List<PlsCusLoanBalanceDataVO> queryAllByLevelThree(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);
	
    /**
	 * 四级数据权限 
     * @param plsCusLoanBalanceData
	 * @return 
	 */
    public List<PlsCusLoanBalanceDataVO> queryAllByLevelFour(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);

    /**
	 * 五级数据权限
     * @param plsCusLoanBalanceData
	 * @return 
	 */
    public List<PlsCusLoanBalanceDataVO> queryAllByLevelFive(PlsCusLoanBalanceDataVO plsCusLoanBalanceDataVo);

    /**
     * 将数据批量插入临时表
     * @author zhoucs1
     * @param plsCusLoanBalanceDataVOList
     * @return
     */
	public int batchInsert(List<PlsCusLoanBalanceDataVO> plsCusLoanBalanceDataVOList);
	/**
	 * 需求编号：2019D0519<br/>
	 * 问题编号：<br/>
	 * 功能描述：清空临时表中的所有记录<br/>
	 * 开发人员：周才顺<br/>
	 * 创建时间：2019年6月28日<br/>
	 * @author zhoucs1
	 * @since  1.0
	 * @version 1.0
	 */
	public void deleteAll();
}
